package net.xdclass.order_service.service;

import net.xdclass.order_service.domain.ProductOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 查询商品
 */
@FeignClient(name = "product-service")
public interface ProductOrderFeignService {


    /**
     * 查询商品
     * @return
     */
    @RequestMapping("/api/v1/product/find")
    String  find(@RequestParam(value = "id") int id);


}
